PM3.6 - King Dedede - Action - 0x129
Entry Script
- if ((InternalConstantInt(PreviousAction) Equal scalar(33)))
- ResetVerticalVelocityAndAcceleration(true)
- ResetVerticalVelocityAndAcceleration(false)
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- CallEveryFrame { thread_id: 9, script: 0x2bddc }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(Unknown(2))
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialSGet)
- else
- ChangeSubactionRestartFrame(SpecialSGet)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- if ((InternalConstantInt(CurrentFrame) GreaterThanOrEqual scalar(30)))
- AllowInterrupts
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(10)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirSGet)
- else
- ChangeSubactionRestartFrame(SpecialAirSGet)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- FrameSpeedModifier { multiplier: 1.5, unk: 0 }
- LoopRest
Exit Script